All Questions
4 questions
3votes
1answer
6kviews
Best way to handle lazy models with mapstruct and spring transactional scope
In a typical Java Spring Web APP: we have the following layers: Model [DB Models] Repositories [where you have queries to DB] Services [Business service where you have the @Transactional annotation] ...
0votes
1answer
2kviews
Decouple business logic from DTO
I've to implement some Backend Webservices, which provide a given, final JSON structure, which is allready in use on the FrontEnd side. This structure doesn't match the database structure, so I have ...
0votes
1answer
454views
In new project where you have ability to define DB and write app code, what is seen as best practice?
Good day When starting a new project and you have access to the db as well as writing the code. In this specific case it is PostgreSQL and Java EE with JPA and Hibernate. Should one: Aim to ...
2votes
1answer
1kviews
How, in Three Tier Architecture is Database Access Achieved
So I am attempting to make an application based on the architecture proposed by this image; (source: ibm.com) [1] However, I am getting very confused with how data access is achieved between the data ...